package com.bml.devops.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
@RequestMapping("/index")
public class IndexController {

    @GetMapping("/get")
    public String get(){

        System.out.println("enter in spring boot index demo");
        return "now is "+new Date()+" ,hello";
    }
}
